package com.project.music.bean;

import io.swagger.annotations.ApiParam;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 前端用户
 */

@NoArgsConstructor
@AllArgsConstructor
@Data
public class Consumer implements Serializable {
    //主键
    @ApiParam("用户ID")
    private int id;
    //账户
    @ApiParam("账户")
    private String username;
    //密码
    @ApiParam("密码")
    private String password;
    //性别
    @ApiParam("性别")
    private byte sex;
    //电话号码
    @ApiParam("电话号码")
    private String phoneNum;
    //邮箱
    @ApiParam("邮箱")
    private String email;
    //生日
    @ApiParam("生日")
    private String birth;
    //简介
    @ApiParam("简介")
    private String introduction;
    //地址
    @ApiParam("地址")
    private String location;
    //头像地址
    @ApiParam("头像地址")
    private String avator;
    //创建时间
    @ApiParam("创建时间")
    private Date createTime;
    //更新时间
    @ApiParam("更新时间")
    private Date updateTime;
}
